Use pexpect-based tests for testing shells, not screen-based one

Fixes #931 (I hope so)