test redirecting standard error