fix 2/3 Parser tests
fix function used in Parser test