fix browser tests with their own shells