Added tests for timer