Some mocha fixes.
Merge pull request #5 from WMeldon/master

Got Tests to Run with Mocha.