(#23074) Remove overly stubbed tests

There were several tests attempting to test the cert application,
the CertificateAuthority and its interface, as well as the inventory
handling by use of excessive stubbing that prevents any real code from
being tested.

The failing overly mocked tests have been removed. Their value was
questionable to begin with.