Adding basic unit tests for String reverse method.