database tests are now work