Added some tests
Added test for SSL