tests added to check that once a membership has ended emails no longer get sent for phq9