Add pexpect test to travis again
Add timeout capability