Add more tests for BgpAttribute

Change-Id: Ia3f836884c526099508fe5169b787aab6ee488d1