Added isGlitched test