Fix the tests to pass an SPA object to the view.