fix multiline strings and docstrings, more comments and break up tests