fix typo in test suite
util: add list_all_same_type