add tests to pool handlers