save and restore ps1/ps2
test embed() and nested embed calls, use pexpect since these tests are interactive