Fix for seeding fail during tests