broke out array functions, simplified tests, simple containing elements are working