Create test for Loner Jobs

For some reason, even though the `SET` command accepts ttl's (https://github.com/nicolasff/phpredis#set), it wasn't setting it correctly when I was testing.

I tested with redis 2.6.11 and 2.6.12, though the problem is probably in the phpredis library.

It mentions on the phpredis doc, that it's preferred to use `SETEX` for timeouts, so I changed it.

I left a commit with the failing test, previous to the change that makes the fix, in case you want to run the test.

Open to any comments.
Also, let me know if I need to squash the commits.