Fixed browser build.
Added integration test that creates random data, backs it up, restores
it, compares it, changes the random data, backs it up again and so on.