Added tests for FunctionExpression error reporting.