Added more unit tests for process_membership job, checking that statuses are updated...