Fix Unit Tests

http://ci.liferay.org.es/jenkins/job/liferay-portal-test-mysql-jdk6/2133/console