fix seeding with test