fix "expected" <> "actual" semantics in test-util