Fix tests.

* render shared/errors without passing model var
* integration test not adapted to style changes