Add test for pexpect prompt changes