Fixing unit tests for the new SSH key on reload functionality