super simple dom sandboxing for tests