Fix and improve bgp_server_test

Change-Id: Ic91c2b804f3f29b5c85dc53611c4ebb30ec736b2