Refactored custom pk tests. Refs #18586

tests.custom_pk.tests.CustomPKTests was migrated from doctests
And so was very long
Broke this into smaller methods