timertask test and fixes