Fix logical issue and add test of N/E/S/W directions from (0,0)