Add rake to Gemfile, add test file