Added the 'color' option to the mocha test suit.
Fixed broken test scenarios.