Creates a sandbox temp directory and executes tests inside it