
In the Python version, preserve the work directory in work-save/class_name to make it possible to examine it afterwards. Before running tests, remove the entire old work-save directory hierarchy to ensure we only leave those behind that actually are relevant.