making the mommy pass along the attributes to the generator.
adding tests.