AUI-1556 Create unit test for escapeRegEx
AUI-1556 - Source formatting