[constant-trickery] Also skip tests when required extension is missing.