fix tests (sorting was fixed while tiered-sort tests were written on another branch)