Fix Broken Unit Tests

http://issues.liferay.com/browse/LIFERAYQA-4979

These tests failed from previous commits made by this ticket:
http://ci.liferay.org.es/jenkins/job/liferay-portal-test-mysql-jdk6/2701/testReport/junit/com.liferay.portal.tools.seleniumbuilder/SeleniumBuilderContextTest/testMacro/
http://ci.liferay.org.es/jenkins/job/liferay-portal-test-mysql-jdk6/2701/testReport/junit/com.liferay.portal.tools.seleniumbuilder/SeleniumBuilderContextTest/testTestCase/