Add istanbul ignore comments to improve coverage accuracy