testing if key is array