Tests running via mocha

But (probably) only in the node context, which could be problematic