[PATCH v3 00/13] Overhauling amx_test