added 2 array related tests and an example to use one of them