Fix DeleteObjectPool tests
Fixes #6130 (closed)
- The shared test setup was causing some of the assertions to be incorrect.
- The dummy paths used would randomly match the actual pool paths and cause a different error to be returned.
Edited by James Fargher