double parser + tests