fixing unit tests to mock _reserve_resource since _resource_manager is removed