Adding test cases for convex().