fork mode test