added test stub (#24)
implemented test (#24)
implemented list splitting (#24)
refactoring: extracted method (#24)