testing parser validity