Capture the warning for the unhandled circuit purpose test case, both to clean up the test log and to confirm that it gets logged.
Check that route_len_for_purpose() (helper for new_route_len()) correctly fails a non-fatal bug assertion if it encounters an unhandled circuit purpose when it is called with exit node info.