Had a note to myself to create a MR for this some day. Had 1 hour at the BSC before going home, and my brain was too tired to work on anything too complicated, so decided to tackle this one
I saw a test file in our source directory some time ago, and even though some Python projects keep sources and tests together, we appear to have both this and also a separate directory for tests only. I think it makes more sense to use just one approach, and it's a lot simpler to move these few files out of our source and into the test/unit directory.
A few tests are being skipped, as it looks like devs were using actual experiments. These experiments are likely still in MN4, and we might be able to reverse-engineer what they do, and re-implement these tests in a more portable way, and include in our CICD pipeline.
There's one change in the source, so this might require some more thorough code review