adding more tests for the Validate class