Only run "require" tests when require() is available