Add a test with a failing handler