Tmp buf unit test work