r9228: add tests for result-types for map-query and do-query, ignore incorrect select...