Add test for Python I/O and kill after timeout