added query result map tests #271