ensure tests are backwards compatible to ruby 2.0

@eapache noticed that `Tempfile#create` is a Ruby 2.1 API call, but does not work in 2.0. This ensures backwards compatibility.

Also, I added rake to the development dependancies.