anchor.diff:  		{uint64(1), new(int<%= pg_bit_size %>), isExpectedEq(int<%= pg_bit_size %>(1))},
   		{int(1), new(int<%= pg_bit_size %>), isExpectedEq(int<%= pg_bit_size %>(1))},
   		{uint(1), new(int<%= pg_bit_size %>), isExpectedEq(int<%= pg_bit_size %>(1))},
  -		{pgtype.Int<%= pg_byte_size %>{Int: 1, Valid: true}, new(int<%= pg_bit_size %>), isExpectedEq(int<%= pg_bit_size %>(1))},
  -		{int32(-1), new(pgtype.Int<%= pg_byte_size %>), isExpectedEq(pgtype.Int<%= pg_byte_size %>{Int: -1, Valid: true})},
  +		{pgtype.Int<%= pg_byte_size %>{Int<%= pg_bit_size %>: 1, Valid: true}, new(int<%= pg_bit_size %>), isExpectedEq(int<%= pg_bit_size %>(1))},
  +		{int32(-1), new(pgtype.Int<%= pg_byte_size %>), isExpectedEq(pgtype.Int<%= pg_byte_size %>{Int<%= pg_bit_size %>: -1, Valid: true})},
   		{1, new(int8), isExpectedEq(int8(1))},
   		{1, new(int16), isExpectedEq(int16(1))},
   		{1, new(int32), isExpectedEq(int32(1))},
  
positive.code: 		source pgtype.Int<%= pg_byte_size %>
  		result string
  	}{
  		{source: pgtype.Int<%= pg_byte_size %>{Int: 0}, result: "null"},
  		{source: pgtype.Int<%= pg_byte_size %>{Int: 1, Valid: true}, result: "1"},
  	}
  	for i, tt := range successfulTests {
  		r, err := tt.source.MarshalJSON()
  
negative.code: 		source string
  		result pgtype.Int<%= pg_byte_size %>
  	}{
  		{source: "null", result: pgtype.Int<%= pg_byte_size %>{Int<%= pg_bit_size %>: 0}},
  		{source: "1", result: pgtype.Int<%= pg_byte_size %>{Int<%= pg_bit_size %>: 1, Valid: true}},
  	}
  	for i, tt := range successfulTests {
  		var r pgtype.Int<%= pg_byte_size %>
  