Added UT for Timer class.