How to set up a perfectly isolated end-to-end environment