Modify unit test for callback after timeout

should callback after timeout to test if Arrow can handle the callback
correctly.