Set window size in pexpect tests