added pty test