Add more tests for BgpAttribute

Change-Id: I8f65f0feaa16bb96cb4bfb80740a29e22535b0c3