modified tests to verify validation working properly