LPS-31497 Fix Test

1) Use MainServletExecutionTestListener to load portal custom layout templates.
2) After creating a layout based on a layout prototype, changes must be propagated so that the type settings from the prototype are copied to the layout.