fix minor test errors from conversion to mocha