simplify set up for cross-origin embedding tests