add minimal resource pool unit tests