Added mocha test framework; added trivial parser tests.