Bugfix test with db import lock while cursor is needed (need to be checked but all tests are running 20 times in a row and game is running)