Test generating a seed