updated reaction tests, increased coverage, refactored getRID method