initial test coverage

fixes #38