Add mocha test suite and travis ci

This is to address issue #5 
Once I see the travis integration, I'll merge this into master directly