Fix Worker for use with DATABASE_URL

Closes #225
Add tests for Worker initialization
Merge pull request #226 from cschramm/master

Fix Worker for use with DATABASE_URL