Fix failing specs by downgrading rspec. Remove deprecation notices