Fix and improve bgp_server_test

Change-Id: I6742b1adc8962ca711f473f1825dd2950cf6e29f