utest: Add 10 test cases for tdm_event_loop.c