added sample unit tests for rest
Merge pull request #9 from mhshams/unit-test

added sample unit tests for rest