actually test empty array type

Former test checked against null, but we want to check for empty array