Prozlach/unittests

Unittests for check-zonesync
Not to mention the copy-pasting I have to sometimes do :/