Add test mode flags to AbstractPlanNode/AbstractExpression for more deta...

...iled explain.