Relocated stubbing to correct location before court initialization