Add test for STDIN/stream redirection