Add test case for time.Time pointer