wrote unit tests for endpoint registration
Merge pull request #35 from tckeelin/851-test-endpoints-registration-SB

wrote unit tests for endpoint registration