add tests for slugs.json and component.json