Fixed the PMI calculation tests.