Update gemfile and add test for location