add test for to_lists
docstring for to_lists
add from_lists test
add docstring to from_lists
simplify; no explicit variable name