add tests to model view
add tests for collection view