Adding some more tests for the String class and fixed some stuff related to those tests.