fix signedVarint for large numbers, more tests