Add unnest and order by tests to framework