invalidateblock and reconsiderblock are added to the rpcclient package and an integration test is added to test the added functions.