Test array vs dict.