Updated Gemfile and wrote running tests