Add test sshd_config test before sshd restart

This should prevent accidental lock-outs when sshd configuration has
a problem and sshd daemon won't restart because of that.

Fixes #152.