style fixes in test_helper