Another unit test that covers another problem if features are not sorted

This test checks for regression in another affected function, which doesn't exist any more.  But keeping the test for future bugs.