Added unittests for Collection