move testcommand in domogik source