Disable spurious stack trace printing during test.