unit test for Collections