Make tests for method in class CommandReader