Add another few unit tests for CachingtargetLocator