Edited: now test shows where was an error; and parseEmail function was modified