This stackexchange thread explains how to induce a fork in a private Ethereum testnet. The solution is to block the network ports. It also shows the test details.
Creating forks in a Ethereum blockchain can be useful for testing different behaviors.