Fix comparison equality of two regexps.
Downgrade mocha version for fix running Phantom tests.
Add test for regexp comparison.