Tweaked the array class
Added some more tests