Add hook to skip waiting for input in the context of a test