Added test for forking