Added test cases for parsing statuses.
Refactored CommandParserTest.