Now tests both South-at-top and North-at-top inputs + basic handling for missing data.