Made error message clear about whether a Module or a Class gets wrongly stubbed