Fix group_by filter test
Fix layout reading test
Fix sort test