I am getting this error from AssertEqualsTable \"The data types text and text are incompatible in the equal to operator.\"
then
\"The \'TableCompare\' procedure
I don't think you can compare text field values, which would explain the error.
Also, the text data type is deprecated in favor of varchar(MAX).
See this