adds swarmtest app, fixes heartbeat timer problem and fixes bonjour advertisement issues