Testing a smudging algorithm