added add-component tests + little fixes