added tests to validate forbidden SysExpressions in functions