Closes #933 (closed)
The first commit enables the commented out test command to produce the coverage reports.
A second commit would then enable Codacy again. Just need to look into creating the report. But after the first commit we already get a test/coverage.xml
(as appears to have been done in the past).