NUnit test added for SetCategories()