Add view tests
Every view should get a test that checks the logic of the view. This does not need to use Selenium, a functional test using the
TestClient will be sufficient in most cases.
Most importantly, all views that change data must be tested, and views with permission checks must be tested both for whether the right permissions cause the view to work, and lack thereof cause it to not work.
The goal of this issue is that all views that change data (rule of thumb: those that process a POST request) or check permissions before action have functional tests. After that, all merge requests that add or change such views will be required to contain tests.