Refactored tests so that a new list is not created for every test.
Added yield return to Generate method and it now returns an IEnumerable.