Test for bug replacing dependencies

When re-put-ing an existing job, if the dependcies are changed, the new dependencies
should replace the old ones rather than merge them. This was fixed several commits ago
but a test was not added
Merge pull request #29 from seomoz/reput-dependencies

Test for bug replacing dependencies