Add collectionView config attribute check

- add config check
- add initial test