Fix tests to ensure counterclockwise orientation