Rspec generator cleanup