add an unit test for free lists