Fix flappy AppCache progress bar test

Trying to catch the progress bar on load is too unreliable so only simulate the AppCache events.

@rev rjayaramappa@
Merging origin/tbliss/master-pending/flappy-appcache-testfix into master