restart shall only be possible when state is RUNNING (NGEO-1483).
Adjusting test to previous commit.