Improve CI #2419
Clean the data directories before running the test in the mvd, much and mcbm directories. Fix test dependencies in several directories. Add json config file for CI tests which writes output in the data directory such that the files are properly deleted when running the next tests.