Initial unit tests for new SSL functions