Final version of SQL tests that will run in AppVeyor