Add test for time.