added a test for non root sentry
Merge pull request #143 from mghayes/patch-1

Standardized converted substring to substr callls and added a test