Fix Rake tasks.
Allow including Job module to anonymous classes.
Add an integration test that will eventually pass.
[skip ci]