Completed test for the creation of an empty list