Test dimension perserving for persistence.