Make test-button work for multidomain configurations

When validating the configuration, the domain is split at ',' and
each part will be validated individually. However, the actually bind
will use the original domain string with ',' which doesn't work.
Merge pull request #7 from gonzzor/test-button

Make test-button work for multidomain configurations