add unit test: TestNewSaveComponentCommand