refactored spec to validate email uniqueness