Add some tests to verify array1D behaviour.