String parser + some tests.