unit-tests for parsers