Check the exit status at restart and add tests.

We only need to check whether the init.d script succeeds.  Checking
for the PID introduces a race condition and random failures.