Tests for truncating async stack traces that exceed the maximum async stack trace depth.