Add a "fork" mode test to help catch issues