add test case 11. test for the is_held_by_currernt_thread