Adding tests for ExpressionRenderer. Need to handle the error type.