Add mock/live tests for ExtensionApi