initial test coverage

fixes #38
was going to do that as part of coveralls setup