Add string parser and test for it