Reset $stderr,$stdout in 'after' method if they were altered in 'before'...

1. Reset $stderr and $stdout to their proper output stream in 'after' method if they were altered in the 'before' method to fix intermittent test error caused by a logger attempting to use previously closed $stderr.
2. Use temporary location for 'release' tests to avoid contaminating workspace when tests are run locally.