added test coverage and register test
Merge pull request #60 from johnbrett/master

added test coverage and register test