Fix bug in testing with coverage.  I think this was introduced in my merge of the fix for issue #2132 into the 0.3.x branch.