add pool unittest