new unit tests for List function