Unit test for ArrayCollection class

I have created simple unit test for ArrayCollection class in order to simplify class refactoring