Add test for verify email. ref #167