Fix a test case.
Upgrade RSpec to 3.1 to fix DEPRECATION WARNING