Test may fail because of missing ORDER BY clause