added test for api extension type