separate the InspectorTest goop
inject iframe for testing extensions
add extensionTestAPI for test scripts to call