Added some unit test cases for the list dumper, and tested that it works.