test behavior of -sample: before receiver sends
Merge pull request #932 from brow/sample_edge_case

Behavior of -sample: before receiver sends a value