add test for PostThreadHandler