init js tests migrated to mocha
more tests migrated to mocha