format string fixes

- add test for DMS formatting
- make sure to put the right N/S or E/W for each format string (they were swapped)
- only use the absolute value for the format string degress; N/S or E/W will tell if it's positive or negative