Added tests for bounded, unbounded mixed-order index scans

I think you could just do `expected.toArray(expectedArray)` here.