Compat tests for old cache interface (bug 1053908)

https://bugzilla.mozilla.org/show_bug.cgi?id=1053908