add an error message when an ufl function is constructed with an expression containing a test or trial function