Fix various date formating errors
Update test suite with date tests