This test fails on self.assertTrue(delay < 0.001 * num_ids, error_msg) randomly. This commit adds debug code to see what the real values of paramters are.