more tests migrated to mocha