Add unit test to verify generation of avahi config file.