Add tests to category_spec