add collect api test
add collect test api