Added upper, lower and free-text internal functions.
Forgot to uncomment tests.