Add some tests for ZeroConfDiscoveryProvider and change build.xml