Add integration test for worker.
Use mongo in integration tests on travis.