Add more tests for BgpAttribute

Change-Id: If0873d32eee561d0c3dbd0bc6282163d21a05bd8