Added test cases for category and vendor