Wrote tests for parser and stubbify

Forgot to update package.json my bad. but yep, learned a lot of Mocha. What do you think?