tests: make code coverage for unit tests optional