add ut case test_getExtension_sameInstance