Merge "Add tests to cover handling negative varint." into pi-dev am: 9a58caaaff
am: b15d1e362f

Change-Id: I09c952d4b2efc773605578c268e875884e5fb55a