Test that ANSI input is filtered