ActivityStream snippet fest related changes

Samples + Test cases