Move list tests to own method