Removed obsolete view tests and fixed remaining.