XD-1555 Fix ExpressionOrScriptMixin

- Fix the assertion to check for mutually exclusive options for expression and script
- Add transform processor tests using script and expression