Adding sample for poolManager with test for retrieve resource...