use mockery instead of call mojito start directly