Port token grant test case to Mocha.