final tests sql_subset