Fix failure on stubbing methods on  nested modules