basic unit tests for email field