split of categories_spec into two specs