Revert "add test case for set category in Parser"

This reverts commit 01c81c4cfa1301ffd2c403b212a2a30c6af91cb1.
Revert "add methods for parsing category in Parser"

This reverts commit aaa28c7e8e999f9148f813e8e55af97533416404.