Added a simple self test mode where a source and sink key are generated and the source/sink shared-secret key is generated using the source keys and the sink keys. The test makes sure those keys are identical.