fix some tests related to timer