change test for #626 to not be order dependent