Test for ModuleGenerator

* Change drupal_mkdir to mkdir for testing
* Added ModuleGeneratorTest