Sql manager test