more SSL unit tests

This branch adds more unit tests for SSL configuration classes and fixes a minor issue discovered as a result.