Update local_tester.py

A bug with time measurement fixed.