[PATCH v2 13/44] test: Drop the function for running cmd tests