Add more tests for BgpAttribute

Change-Id: I521c37b4be32d11a6768912e9d10d5b01da8310d