Wrote view cache test.