Added test and benchmark on array of empty arrays