added specs for PTY.open
fix mode of wport IO

was set to "read"; should be "write"