Restart failed units - fixes 326

Fixes #326.
This test isn't really checking that the applications are stopped before they are started. The comment below explains that this is implied, but the test only checks that they end up `active`. What happens between the two states is probably unnecessary detail.