DRILL-1824: Fix equality between maps and lists for test framework.

Fix failing test due to not creating hadoop's Text object, as well as lack of equality between these Text objects and a string containing the same text.