test thread+handler+message+threadpool function