Adapt the expectation to test's output.