added th column factory and tis tests