Correct error in string parsing logic.  Clean up parser unit tests.