making modules stubbable