Increase the test timeout threshold from 2s to 5s

Sometimes the tests can appear to fail, when in reality it's just the main thread lagging, db operations taking time, or other disk nonsense (gc, paging, ...) on the test machine.  Mocha defaults to timeout tests that take more than 2s.  This increases it to 5s, and warns about tests that take longer than 250ms.