Fix some code standard issues in tests.