Add test to PgTokenHelper