Finished chapter 6 exercises, added tests for email downcasting and invalid emails, changed email regex