A smoothness test for higher codimensions. (May 2018)