Make a test that outputs the deprecation warning.