Fix tests to use Mocha (as coded), and all pass
Add MiJ writer