Test that *our* lock handler toggles locks