add test for the extension definition interface