Fix code style errors in tests
Enable Checkstyle for tests