Add more tests for BgpAttribute

Change-Id: I0720d86fb68691a6ada1ca5a84a76235db16582a