Wrote cache test.