Add tests to validator objects