Add more tests for BgpAttribute

Change-Id: I84e67395cfb33a14116dac9a78ee286485969b41