Emulate slow queries when asked.
Use Sinon fake server. Make tests properly async.