Test-of-flatness