add test for is.array