Cleaned up sg_column and test