improved testing for chrome.webstore.install function