Add function for seeded tests.