Add more tests for BgpAttribute

Change-Id: I2a601d08e579ec1fa77fdfac86dbb91686d27987