finish mocha port
whack old tests.js and tweak Makefile