workflows: more unit tests
- Adds more unit tests to the workflows module, including new test workflows. Coverage should now be about 50%.
- Modifies API internals for unit tests conformation.
- Adds one file for tests which are using asynchronous worker to compute.
- Corrects unit tests.
Signed-off-by: Guillaume Lastecoueres <guillaume.lastecoueres@cern.ch>
Reviewed-by: Jan Aage Lavik <jan.age.lavik@cern.ch>