added tests for localrestart and stop