Task tests

This also adds tests to Tasks, which we didn't have before!
Why do we have this? So we only need to pass the email?