Moving specs for Validator into separate file