Implement methods which are tested by RevTreeTest and update RevTreeTest