Fix #265
Merge pull request #269 from kawazrepos/fix_registration_email_testcase

Fix #265