Test all the things

Migrate tests to Mocha, from Jest