added validation for uniqueness: true
created test for email uniqueness