Add unit test for case of user email