fix incorrect test expectation messages