Modernize the tests for views.rest

1 job for deployment-mode in 1 minute and 37 seconds (queued for 2 seconds)