code gardening
use asynchronous expectations to take network latency into account