native query test fix