Testing primefaces functionality