Which is the appropriate method for testing timer functions? There are no examples about it in the docs.