minor stylistic fixes in test_helper