add tests for the setting of the rerun
add tests for the setting of the rerun

This adds tests for the logic that sets the rerun permission for non admin users

OHM-838

jembi/openhim-console,jembi/openhim-console,jembi/openhim-console