Improved check_subject_is_valid_test.py by using test parametrization.
Covered the new CertificateService check_subject_is_valid with unit tests.