Change order of tests for swapped data to workaround misidentification errors.