Appcache tests

see #2716