[tests] Skip tests when required extension is not loaded