Moved and flushed out tests for validators.