Revert job and worker
Clean job

options parameter is now optional
ensure only one index is present
Add some tests