created test for user model checking failure when saving user with already occupied email