update test for empty array