package main

import "testing"

func TestHandleConfigFile(t *testing.T) {

	if _, err := HandleConfigFile(""); err == nil {
		t.FailNow()
	}

	// Depends on default config being avaiable and correct (which is nice!)
	if _, err := HandleConfigFile("config.yaml"); err != nil {
		t.FailNow()
	}

}

package main

--- 
+++ 
@@ -1 +1,16 @@
 package main
+
+import "testing"
+
+func TestHandleConfigFile(t *testing.T) {
+
+	if _, err := HandleConfigFile(""); err == nil {
+		t.FailNow()
+	}
+
+	// Depends on default config being avaiable and correct (which is nice!)
+	if _, err := HandleConfigFile("config.yaml"); err != nil {
+		t.FailNow()
+	}
+
+}
Add test for handling config files.

Checks also default config file which is a big plus as it will fail the
test if there will be errors.
