Make bgp_server_test more robust

Change-Id: Ia64854e400ee939443ef2e2ba81a15743831346a