Add missing import of time in timer_test.py