redirects test output to distinct file