parseString and tests