Add unit tests for getParserFunctionTargets and getBaseUrl

Change-Id: Iccfd2b511098a1686de52cd570e9f00aa26e3f62