[CF-14] improve servlet filter perf

Why are these test cases deleted?