Fix tests for ordering.