ported ExplainOperation tests.