Added TestCommandParser. It contains tests for the methods in class CommandParser