Missed test cases covering the warnings

Thus let `warn` slip through. This catches that issue.