    projects = Project.query.filter(Project.name == 'Test Project').all()

    assert '422' in resp.status
    assert len(projects) == 0
    assert resp_data['error'] == 422
    assert 'Validation error' in resp_data['message']
