Use factories defined under features/factories/
Create a factory for category repository items
Allow a repository to be instantiated with given contents
Define the contents of the repository within the tests