FACES-1764

Refactor the tests for the icefaces-users-portlet and primefaces-users-portlet to work in Liferay Portal 6.2