Added unit test for Bag
Added unit test for Bag

The test checks whether the bag does not give an index out of bound
exception when fed duplicate values in the array.

gaoch023/smile,arehart13/smile,arehart13/smile,arehart13/smile,arehart13/smile,wavelets/smile,code4ape/smile,dublinio/smile,Xyclade/smile