fixed clear cache if full & updated test for opera
fixed global leak test problem