ssh_host_keys: refactored tests

Tried to isolate things I would need to change to allow for testing of
different file layouts (e.g. `/etc/ssh/` vs `/etc/`) and to remove
duplication.