The Mars Organic Molecule Analyzer (MOMA) instrument on board ESA's ExoMars 2020 rover will be essential in the search for organic matter. MOMA applies gas chromatography-mass spectrometry (GC-MS) techniques that rely on thermal volatilization. Problematically, perchlorates and chlorates in martian soils and rocks become highly reactive during heating (>200°C) and can lead to oxidation and chlorination of organic compounds, potentially rendering them unidentifiable. Here, we analyzed a synthetic sample (alkanols and alkanoic acids on silica gel) and a Silurian chert with and without Mg-perchlorate to evaluate the applicability of MOMA-like GC-MS techniques to different sample types and assess the impact of perchlorate. We used a MOMA flight analog system coupled to a commercial GC-MS to perform MOMA-like pyrolysis, in situ derivatization, and in situ thermochemolysis. We show that pyrolysis can provide a sufficient overview of the organic inventory but is strongly affected by the presence of perchlorates. In situ derivatization facilitates the identification of functionalized organics but showed low efficiency for n-alkanoic acids. Thermochemolysis is shown to be an effective technique for the identification of both refractory and functional compounds. Most importantly, this technique was barely affected by perchlorates. Therefore, MOMA GC-MS analyses of martian surface/subsurface material may be less affected by perchlorates than commonly thought, in particular when applying the full range of available MOMA GC-MS techniques.