Testing removal of template filter in similarity measure