add more generation restrictions on test to hopefully avoid failures