Added cache writability test.