add time_gen example file
Changing test_time structure