I created a script that makes a fully functional module and manifest. 
A manifest is optional. 

This script can be activated and creates a folder with the module name and module contents https://github.com/paulfijma/Public/blob/master/Create-ManifestModAndFunc.ps1 (save as to a folder, then run it. (it will create a module TestIT, with a manifest for TestIT)
it will automagically run the created test function 'Test-Invoke' (which will run and display current date and time.

The second script is to test if the module can be loaded and the function Invoke-Test can be run: https://github.com/paulfijma/Public/blob/master/test-ModuleLoading.ps1