Fixing a few JSHint warnings in the /tests
removing unused email vars
Merge pull request #346 from pdehaan/fixtestjshint

Fixing a few JSHint warnings in the /tests