Add const to long term key parameter
Add a test which implements all nodes in a single process