[~TASK] Unit test for shareByDefault = false

Implemented Unit test for testing correct ServiceManager behavior with 
shareByDefault set to false.

Resolves: #3408, #3409