Forked test to cover exit conditions.