test now operates on array