Create pexpect_test.py