Make bgp_xmpp_wready_test more robust.

Don't assume that routes will be advertised in a specific order.
Don't use static variable in mock class - causes failure if a
repeat count is provided.

Change-Id: I1173fdc2d8be74578c75239fdc251dbca5870ced
Merge "Make bgp_xmpp_wready_test more robust."