Improved the debugging diagnostics for PalantirManagerTest.java