Make plannerTester less crashy, add error messages.
Merge remote-tracking branch 'origin/ENG-4079' into ENG-4079