Just a Ruby Enumerable-ish convenience method and some practice with rspec