adding tests for incorrect usage of validator.
fixing "'undefined' is not an option" errors
adding negative tests for sameAs validator