update version of rake and move test dependencies into Gemfile