add unit tests for Liferay xml files, mainly the validations