implement canvas caching test