LPS-34850 Fix tests: If there is a layoutPrototype the urls are added when the layout prototype is applied. Then, it's safer to call updateLayoutFriendlyURLs better than addLayoutFriendlyURLs