Add more tests for BgpAttribute

Change-Id: I538ebd04cdb7d1dd7bf39028837be1f2ffc83656