Added test code for boost_asio_timer and posix_timer.