add test case for thunk mod