Add tests to cover the behavior of List.sum and List.product