Function of time in test example.