test for object|array