Parser tests errors removed and query parser updated