Add some tests for the InvenioRDM task
The task used to publish to invenioRDM must be covered by tests. Create 3 basic unit test cases, mocking the InvenioRDM responses:
- Create an Archive, create an InvenioRDM step and test the simple publish (e.g. check that the payload sent to InvenioRDM makes sense and it's valid)
- Same as 1 but trigger the creation of a version (e.g. make the Archive already have an InvenioRDM step)
- From 2, sreate an additional Archive for the same (Source, Record ID) upstream resource and trigger the creation of a version