added unit tests for the three array types