Add tests of deprecated classes