Add test for GenericTokenPart.