Add test for causal delivery.

Add simple test to verify causal message delivery.
Merge pull request #4 from cmeiklejohn/feature/csm/causal-history

Add test for causal delivery.