Fixed a couple issues with array testing