Adds tests cases for String related classes.
Fix some code standard issues in tests.
Fixes code standard issues and correct type of assertion used in a test.
Merge pull request #3 from Achal-Aggarwal/unit-tests

Adds some tests.