Try to mock import requirements.