Add more tests for BgpAttribute

Change-Id: I63fc2fe23b700aa9b6aa0e7273c8c366ba172318