Email Tests Implemented

Previous Bug in tests for 'require' also fixed.