Aui 1570 Create unit test for toLowerCase

Jira: https://issues.liferay.com/browse/AUI-1570

New commit, only added unit test function and string arrays