api: fix Restart and Run tests
api: fix Restart and Run tests

Related to #211.

gciotta/tsuru,gciotta/tsuru,mderaldo/tsuru,ArxdSilva/tsuru,tsuru/tsuru,cgvarela/tsuru,gciotta/tsuru,cgvarela/tsuru,tuxmonteiro/tsuru,ggarnier/tsuru,hcxiong/tsuru,RichardKnop/tsuru,ggarnier/tsuru,cezarsa/tsuru,RichardKnop/tsuru,gwmoura/tsuru,4eek/tsuru,4eek/tsuru,tsuru/tsuru,hugoantunes/tsuru,hugoantunes/tsuru,mderaldo/tsuru,hcxiong/tsuru,RichardKnop/tsuru,cezarsa/tsuru,tsuru/tsuru,ggarnier/tsuru,jblancett/tsuru,kgrvamsi/tsuru,cgvarela/tsuru,firebitsbr/tsuru,guilhermebr/tsuru,tuxmonteiro/tsuru,jblancett/tsuru,firebitsbr/tsuru,Endika/tsuru,hcxiong/tsuru,Endika/tsuru,4eek/tsuru,gwmoura/tsuru,Endika/tsuru,firebitsbr/tsuru,tuxmonteiro/tsuru,kgrvamsi/tsuru,ArxdSilva/tsuru,guilhermebr/tsuru,guilhermebr/tsuru,mderaldo/tsuru,kgrvamsi/tsuru,ArxdSilva/tsuru,gwmoura/tsuru,cezarsa/tsuru,jblancett/tsuru,tsuru/tsuru,cezarsa/tsuru,ggarnier/tsuru,ArxdSilva/tsuru,guilhermebr/tsuru