In default case timer may be explicitly passed as nil
Add test coverage for explicit nil case
Merge pull request #20 from librato/bugfix/worker_loop

Bugfix/worker loop