Add a test for existing config.yaml on init command (ref gh-1).
Add tests for exceptional cases on init command (ref gh-1).
Use utility function, also, in init.