Improve toTitleCase to work with dash
Added a test for toTitleCase()