Fix test with the new queryLayer as empty array.