add exception for unsupported status or priority

-add exception throwing when user input an invalid status or priority
-format ParserTest