Corrected the test to expand the capacity of the internal array. Added a
couple of more tests to get at the cases of full capacity.