moved common parser assertion to base parser + moved the tests