Better error handling and promises use during test setup
Ditch PhantomJS (it doesn't support IndexedDB)