massage test expectations to match with expected trace log