Added unit test for ssl certificate creation