Fix off-by-one in random bytea code
Test case showing PgJDBC pain point for typing