fixed another String recorgnition problem
added test case for recently discovered String problem