bring test coverage to 100%, adds feature from #30