run tests in an isolated environment