Made tests run under both VS and browser.