Fix app view tests.