resource_pool: close more test coverage gaps (#2)