Add tests to email sending and fix zeus/rspec randomize