Fix mocha timeout

Travis is taking longer than 2 seconds to run the tests, thus failing to pass mocha's default timeout.
Tests are slow probably because of the new logging code. This will be corrected soon with the possibility of disabling log code.