Adding test case validation