added unit tests for time conversions