swap order of expected and actual in test messages