added unit tests for date utilities