tests for categoriescollection