Add test for exec tty stdin close

Haven't fixed this yet, but here is the failing test.