Add more tests for BgpAttribute

Change-Id: If0f5c072ed9aac22f19b3bfe755e71507405dff6