The test code indicates that it is expecting a ``list``, which makes the subsequent cast to ``list`` redundant. Regardless, 4-5x work is being done on the following lines.