add some more tests for Array

deal more cleanly with the special case of declaring an array of size
zero.  Or resizing an array to have zero size