Specialize specs in testing anon class only with specific module.