Correct fun heads for when application is started

Add tests for starting the supervisor inside an application and not.
I'm confused, where is Message used?