fix and updated to find by role test
fix to testing of the project subscription and unsubscription when leaving or joining projects
use with_config email_enabled when testing email sending for subscription
code tidy of people controller test