[utils]: fix build error in collection_test.go