unit tests primarily for subscription and unsubscription
Merge pull request #2 from junluocbc/develop

Develop