use doc equality test instead of string equality to test csv import

This fixes csvimport1.js in the tool suite.