Testing applicationcache with modernizr