fix to exclude test codes for coverage