testPipeSequenceOfCommands