[client][url] Import a package for a test only when the debug mode to avoid is from being imported in a normal operation.