Add more tests for IndexedDB exception

 - rewrite the valid checkpoints from #292