stubbing out require.