* Added tests for preshared and PKI cypher.