CZ ( cubic zirconia) has a scientific hardness rating of 8.5 (vs. Diamond 10) on the Mohs' scale, hence can scratch glass (hardness 6~7) just like a diamond.
The so-called "window pane test" was thought to be an assured method of identifying diamond, when suspect diamond gemstone is scraped against a pane of glass, with a positive result being a scratch on the glass and none on the gemstone.
The use of hardness points and scratch plates made of corundum (hardness 9) are also used in place of glass, but hardness tests are inadvisable for three reasons:
1) glass is fairly soft (typically 6 or below) and can be scratched by a large number of materials (including many simulants);
2) diamond has four directions of perfect and easy cleavage which could be triggered by the testing process;
3) many diamond-like gemstones (including older simulants) are valuable in their own right.