add collection test

add collection test
fix utils's test