Added a bunch of unittests for listing.utils