Add more tests for BgpAttribute

Change-Id: I5f39fc5d72e05f52a3e5c87dd0e20947578d8d51