add collection test

add collection test
change gitignore

change gitignore