fixed appcache and tests to work with brjs 0.11