Tests currently generate files that are compared to model files provided in the repository. These generated files should be temporary to ensure that if the function fails but the test continues, there wont be a comparison made between the old file (before the test failed) and the model file.
This has been done for newer tests (here), but isn't implemented for all tests.
Tests where the mule executable makes files are a bit more complicated, but there are examples online for it.