tests: use callbacks to wait for nodes
Rather than just wait for a arbitrary amount of time for
nodes to come online while testing, use the knet callback
mechanism. This should not only save some time in the running
of the tests, but also make them less susceptible to slowness
on the CI machines.