Assert that stub works on Module aswell as classes