Update tests to catch unexpected PEM formats
Update tests to catch unexpected PEM formats

Test the output of `create_rsa_encrypted_pem` in conjunction with
PEM parsing functions `extract_pem` and `is_private_pem`.

secure-systems-lab/securesystemslib,secure-systems-lab/securesystemslib