Added unit tests for the module class.
Merge branch 'modules_unit_test' into initial_data_model

Merged the unit tests provided by Victor into initial data model.