Added validations for email format. Wrote unit tests for Member model.