A cartridge, an analysis system, a method and a computer program product for testing a sample, such as, environmental, food or biological sample, wherein the cartridge has two memory means that are different and/or can be read out by different methods and which correspond to the cartridge or to the batch thereof.