test(cachier): fix .connection spec on Firefox

Seems that the IDBDatabase constructor, on Firefox, has no name. Still, we can
use toString() to introspect the returned object from the promise.