Tests for module

Hi

Tests for modules based on the module example.