Consistent ordering and tests that verify that order