Fixed bug in testExpr method due to invalid type conversion in toLowerCase()

Packed new version