Refactor to generic spawn function
Slightly more generic
Add decrypt message and second test data hunk
Add message signing