Add more tests for BgpAttribute

Change-Id: If9ecf9ceb566979e8b72d67d2e621369581e9b45