unitTests for Module.php

Some tests