Well, couldn't the test just use `suppressWarnings`?