Hi, I had the same problem and I solved it, maybe it will work for you as well.
Open the .../t/01.option_chain.t file, look for this line:
$tws->eConnect("pt");
Comment it out and add these 2 lines:
my @tws_GUI_location = qw/ 127.0.0.1 7496 15 /; #default listening address and port
$tws->eConnect(@tws_GUI_location);
Then run again the test, it should work.
Regards,
Iulian