LPS-30387

Hi Dani,

I've refactored the test case as we discussed. Now it's much simpler and works fine without have to modify liferay-portlet.xml.

If you find anything else, please comment it on this PR.

Thanks,
Vili