Add tests with different arrays.