added CollectionAssert class and some unit tests