used String IO in tests, included docstrings