Fix sandboxing tests