adding unit test for AggregatingLocator