testing and updating rank_reactions function