Unit testing for genericAddRedBlackTree