It is now possible to run the coverage tests without moving any files manually and the script can be called multiple times without failing. Also improves reporting of errors. [no changelog]