Fix coverage for files with global constructors again. Adds a testcase to the commit...