test for array responses