deposit: migrate workflows and fix test

* Migrates existing workflow to new workflow tasks.

* Fixes an issue with a test.

Signed-off-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>
Merge pull request #23 from lnielsen-cern/pu-deposit-fix

deposit: migrate workflows and fix test