Test the dict_query function in fedmsg.utils.