minor refactor for PGObjectTokenizerTest