Adding a.firstLetterUppercase function (as it is used sometimes)
Adding unit test for trim and firstLetterUppercase function