Fix views tests.