Prozlach/unittests

Unittests for check-zonesync
Your version is much more readable and maintainable - thanks!