Added _replaceFirst function (for replacing current operator/operands pair with its evalvated value) and appropriate tests for it