add test case for set category in Parser

-add test case for setting category in Parser
-update Task to include category