test for entrypoint_hook bailout