Add dump test for max depth option.