Replace success messages in tests.