update test to the way filter handle delegating status code