Fix rspec version
fix deprecation warnings in tests