callbacks to events where it makes sense
deviceDiscovery test must be rewritten