switch to mocha + some meta fixes