Modified test case to pass correctly, and fixed Gemfile