Library to be used with expect tests
