Couple of test examples. Still working on figuring out how to properly stub and mock everything
Refactored code for testability. This should work much better for testing
Forgot to delete this. Not needed anymore
Merge branch 'develop' into invite-tests

Conflicts:
	server/routes/invitations.js
	server/test/routes/invitations.spec.js
Fixed travis yml
This should fix the env variables
Merge pull request #215 from Wizecoder/invite-tests

More invite tests