Added missing pytest coverage.