Testing
retooled functions for testing, fixed up coffeescript bindings
Merge pull request #1 from pcw216/master

Mocha tests