Mocking does not work in tasks
When testing with poppy-ray, mocks does not work in tasks because they are executed in a different (worker) process. It is possible to make it work with local_mode=True keyword in ray.init but it is impossible to test parallelization