added test for regesitration email