Make bgp_server_test more robust

Change-Id: I13f8c00b4ae7c32d6716491362d01b3d70e960ab