Removes non functional code. Adds test for title case

Remove non functional code since MB_STRING and static::encoding() are no longer
availabe in L4.
Adds test for title case method.