more tests, fixes in setupSSL

more docs and fixes in setupSSL

Still the setupSSL method requires SECDIR parameter. can we avoid copying the nssdir files by default?

Peace,
R.