Added test suite, fixed date formatting, refactored map parser