Testing Command Line Protocols