Return ref to editor delta from check_consistency.

This ensures that the editor delta outputted in the test results is the
same as that used in the test's assertion.