Fix testArrayToLowercase test case

This test was generating a fatal error as arrayToLowercase is a protected method.