The API needs these to check whether a service can send a notification. This commit also updates all the tests in `test_validators.py` to take a serialised service, not a database object.