[ticket/277] Add tests for functions_modules.php

B3P-277
Merge pull request #278 from marc1706/ticket/277

[ticket/277] Add tests for functions_modules.php