Added email hash model tests