use isarr for array detection
more tests