Add more tests for BgpAttribute

Change-Id: I6a51183b1f6da5c73a046248d6fd21d6200f9f83