Fix #5093: Unit Test Failing: ExtensionManager

Fix #5093

I managed to fix this by adding a variation of the link handle code into the spec window, appending the mock view to the document and using the JavaScript Event object to trigger the click event.