Ugly hack to make few tests work

Making sure at least some of the structures tests are being run,
although results are not exactly verified (osdb hash needs to be checked
on some real data) and test database gets created at random place.