Tests running.

The test wait for a mock email to go out, and check if there's
any error or was it actually sent.
Mock stub test works

Mock test uses sinon.stub() and tests if the bodies are the same.
Renaming the old test.
Fixing testEmailRootPost to be cleaner and optimized
Merging testEmailRootPost and testRootPost

testRootPost.js is now a more comprehensive test that checks if
'render' is called on the rootPost function properly
Using assert() instead of if()
Merge pull request #1 from namangoel1/master

This brings in Namanyay's work on adding a unit test for the rootPost method.