EAGLESIX-2722 Minor change to ToLowerExpression, filled out the tests a little.