It is a great advantage to turn something crystalline (for example test powder or dbol pills (pills contain tiny crystals)) into an amorphous substance. Crystalline matter in a mono- or dichromatic x-ray machine with multidetector and movable x-ray source will give a distinct spectrum with sharp peaks, while an amorphous material will show a dampened cosine function which is far less distinct. Liquids are by definition amorphous, so test liquids should be less suspicious. This apparatus can also measure absorption which is a function of the sample thickness and the effective atomic number (Zeff). The specific ratio of carbon, oxygen and hydrogen can be calculated from the measurement of Zeff, and can be compared with the database to see if it contains contraband. For disrupting the determination of Zeff it can be effective to blend in other materials (like zinc powder which has a hight Zeff and could easily be separated afterwards). For the x-ray spectra it just adds a few extra peaks, and any semi-intelligent program can still find the right material from the spectrum.
However, the vials themselves will show up on the screen of the conventional transmissive polychromatic x-ray machines which do not use scattering techniques.