added email test to user spec