add test coverage for time converter