Disable printing of stacks during tests.