Code compliance for tests