Add extendsType tests.