[PATCH v2 6/6] unit/test-settings: add pem extended type tests