convexity test