implementing pool tests