Fix and improve bgp_server_test

Change-Id: I361493db1a60552ac00c1068c1a29a435d22eab1