Fix GCC and Clang builds.
New definition of slow and timeout.
Update mocha.