Add devquery test + externalize info_map

One test function in test_wrappers was moved to test_devquery.