AUI-1555 Create unit test for endsWith
AUI-1555 - Source formatting