add automatic module mock to spec