Task tests

This also adds tests to Tasks, which we didn't have before!
It was there in Booking and I copied Booking tests. Easy enough to rewrite this of course.
Should I?