Adding array type and tests.