added test and cycle to component.json
added test, component.json