Prozlach/unittests

Unittests for check-zonesync
The advantage of writing small test functions would that you don't have to remember to clean-up everything after each test because they all are independent.

Remember that if you forget to cleanup something it may affect other tests if a way you did not predict.