Add config.go tests

Close #12