Fixed `timer_wrapper` and `timer_handler`
First unit tests were added, more to come.