added test for TimeUnit