Migrates test to Mocha.