moved test specific to sql