Fix most extension unit tests

This change fixes all of the extension unit tests except for chrome.windows.update.