test: ensure sandbox dir is present

Fix test/browser.test.js failing on CI due to sandbox dir not present
on the first run.