mocking require modules