This issue shows an example on how to avoid the 0% coverage issues: https://github.com/sc-forks/solidity-coverage/issues/474