TST: sql skip tests at class level if database is not available