Rewrite infraware tests on appcache