clearPool at test start and test end