fix tests, add glitch example