added testcase for invalid email.

@maethu i added a new testcase for invalid emails.
fixes #7