Unit test for wrong query result using DESC PK column