Task/392 service path service path unit tests

### Description
- Unit tests for queryContext
- Initial sanity check of Service Path, with corresponding unit tests

Yeah, you are right.
I fixed this yesterday, but I cannot see the fixes now ...
Implementing it again.