Add LCOV macro to exclude test code