tests: fixed no cover pragmas on compat