Fixed bug with array accessor due to a method being incorrectly overridden. Added more tests