What happens on systems where `openssl` is not loaded? As far as I see, this would raise exceptions, and would lead to half the tests failing.

I'd advise you to use an abstract base class, overridden three times with the proper checks to skip them.