Fix handlers tests.