Move require of 'pty' and 'expect'