Add test for component.json syntax