``replace`` can be None, or a list, so some tests are failing here.