Update test spec. They were pretty awful before. Sorry.
Migrate from Jasmine to Mocha/Chai. Cleanup unused dependencies.