Add a test for query_result_to_dict
Add a test for wscompat conversion