[Minor] Fixed deprecated class TypeTestCase