added unit test for list2df