tests to parser