Add more tests for BgpAttribute

Change-Id: Iaf38a71365b97bed92e9c52cc9f9008042ea32bd