Fix a flaky test condition that only occurs in
multiprocessing mode. Make the page definition more
specific; the previous implementation would not fully
render all objects in time.
Avoid race condition related to events order (in faster,
multiprocess testing, the order is not exactly the same since
some events arrive at once).