added error reporting for node result set and test for checking relationship data