testing: use pydantic to parse test_config.json
Use pydantic for stronger-typed parsing of test_config.json. Rework compat_asn1 to use pathlib.Path instead of str for filenames.
Use pydantic for stronger-typed parsing of test_config.json. Rework compat_asn1 to use pathlib.Path instead of str for filenames.