convex sweep test working + tests