fix tests to also use SSL