* add unit test for minority fork overcommit attack * add generic function to simulate fork selection