added unit test example for registration service
Merge pull request #4 from moolsan/unit-test-example

added unit test example for registration service