Added genericAddRedBlackTree() compareModuleAndPin() and two test