ensure handle_event is registered

this fixes the broken cache test