Updated code style for tests.