Test the output of list