ensure stdout redirection will be setup prior to test setup being called. Fixes #7.