Fixes nobug - set preconditions for test properly in DB