Added a unit test class for HandCollection.