Issue #25: more tests on deprecation detection.