Port response test cases to Mocha.