Skip coverage report for timer.py
Remove needless code and add some test assertions